{% extends "admin_content.html" %}

{% block subheader %}
	<h1>Login</h1>
{% endblock %}

{% block content %}
{% if error or form.has_errors %}
	<div class="form-row">Username e Password errati!</div>
{% endif %}
<div>
	<div class="fieldset" style="width:30%;margin:0 auto;">
		<h1>Inserisci i tuoi dati di Accesso</h1>		
		<form action="." method="POST">
		
			<div class="form-row">
				<label>Nome utente*</label>
				<div><input type="input" name="username" /></div>
			</div>
			
			<div class="form-row">
				<label>Password*</label>
				<div><input type="password" name="password" /></div>
			</div>
			
			<div style="clear:both;padding:10px;text-align:center;">
				<input type="submit" name="login" value="login" />
			</div>
		</form>
	</div>
</div>
{% endblock %}